package Extend;
/*
 * java语言只支持单一继承，只继承一个父类 
 */
public class ExtendsDemo2 {
	public static void main(String[] args) {
		LOL2 l = new LOL2();
		l.update();
		l.start();
	}
}


class PCGame extends Game {
	public void update() {
		System.out.println("PC更新了");
	}
}

class MobileGame extends Game {
	public void update() {
		System.out.println("Mobile更新了");
	}
}

class LOL2 extends PCGame {
	
}